<html>
<head>
    <title><?php print t('site_title') ?> v. <?php print $pastelog_version ?></title>
    <style> @import url('style.css'); </style>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<body>

<div id="header">
    <a href="<?php print url('home') ?>"><img src="logo.jpg" alt="PasteLog" border="0" width="209" height="75" /></a>
</div>

<div id="info">
    <a href="<?php print PORTAL_LINK ?>"><?php print t('back_to') ?> <?php print PORTAL_NAME ?></a> | 
    <a href="http://pastelog.sf.net" target="_blank">pasteLog v. <?php print $pastelog_version ?></a>
</div>

<table cellpadding="0" cellspacing="10" border="0">
<tr valign="top">
    <td id="menu">
        <h1>Menu</h1>
        <a href=<?php print url("new") ?>><?php print t('mn_new') ?></a>
        <a href="<?php print url("about") ?>"><?php print t('mn_about') ?></a>

        <br />
        <div style="width:150px; height:1px;"> </div>
        
        <h1><?php print t('mn_recent') ?></h1>

        <?php foreach($recents as $row): ?>
        <a href="<?php print url($row['id']) ?>" class="recente">
            <?php print $row['nickname'] ?><br />
            <span><?php print date('d/m/Y H:i:s', strtotime($row['post_time'])) ?></span>
        </a>
        <?php endforeach; ?>
        
    </td>
    <td></td>
    <td id="content">
        <?php $this->fetch($smarty_tela) ?>
    </td>
    <td id="menu" align="center">
    </td>
</tr>
</table>

</body>
</html>
